package cn.tedu.product.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class BuyDTO {
    @NotNull(message = "数量不能为null")
    private Integer quantity;
    @NotNull(message = "商品ID不能为null")
    private Integer productId;
}
